import { AppsListDetail20Regular, PeopleList24Regular, Settings16Filled } from "@vicons/fluent";
import {Laptop} from "@vicons/ionicons5";

export default {
	path: '/console/product',
	redirect: '/console/product/menu',
    icon: Laptop,
	meta: {
		title: '商品管理',
		showInMenu: true
	},
	children: [
		{
			path: '/console/product/list',
			component: () => import('@/views/console/product/productList.vue'),
			icon: AppsListDetail20Regular,
			meta: {
				title: '商品列表',
				showInMenu: true
			}
		},
        {
            path: '/console/product/add',
            name: 'addProduct',
            component: () => import('@/views/console/product/addProduct.vue'),
            meta: {
                active: '/console/product/cate',
                title: '添加商品',
                showInMenu: false
            }
        },
	]
}
